package com.xuecheng.content.service;

import com.xuecheng.content.model.dto.BindTeachplanMediaDto;
import com.xuecheng.content.model.dto.SaveTeachplanDto;
import com.xuecheng.content.model.dto.TeachplanDto;

import java.util.List;

/**
 * create 2023/5/6 21:39
 */
public interface TeachplanService {
    public List<TeachplanDto> findTeachplayTree(long courseId);

    void saveTeachplan(SaveTeachplanDto teachplan);

    void deleteTeachplan(Long teachPlanId);

    void moveUpTeachplan(Long id);

    void movedownTeachplan(Long id);

    void associationMedia(BindTeachplanMediaDto bindTeachplanMediaDto);

    int  deleteTeachplanByCourseId(Long courseId);
}
